package com.example.demo.dao;

import com.example.demo.model.Parent;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Select;

@Mapper
public interface ParentDao {
    @Select("select * from parent where id = 1")
    Parent findParent();
    @Select("select password from parent where phone = #{Phone}")
    String findParentByPhone(String Phone);
}
